/**
  * @desc generate random sha256 hash string
*/

const crypto = require('crypto')

module.exports = (size = 32) => crypto.randomBytes(size).toString('hex')
